import request from '@/utils/request'

export function getQuotes(data) {
  return request({
    url:'Public/quotation',
    method:'post',
    data
  })
}
//UserMoney/getHFList
export function getPhoneRechargeTypesList(data) {
  return request({
    url:'UserMoney/getHFList',
    method:'post',
    data
  })
}

//UserMoney/addHF
export function phoneRecharge(data) {
  return request({
    url:'UserMoney/addHF',
    method:'post',
    data
  })
}

//UserMoney/getHFLog
export function phoneRechargeLogs(data) {
  return request({
    url:'UserMoney/getHFLog',
    method:'post',
    data
  })
}

//goods/getGoodsList
export function getGoodsList(data) {
  return request({
    url:'goods/getGoodsList',
    method:'post',
    data
  })
}

//goods/getGoodsDetail
export function getGoodDetails(data) {
  return request({
    url:'goods/getGoodsDetail',
    method:'post',
    data
  })
}

//goods/getAddressList
export function getAddressList(data) {
  return request({
    url:'goods/getAddressList',
    method:'post',
    data
  })
}

//goods/addAddress
export function addAddress(data) {
  return request({
    url:'goods/addAddress',
    method:'post',
    data
  })
}

//goods/delAddress
export function delAddress(data) {
  return request({
    url:'goods/delAddress',
    method:'post',
    data
  })
}

//goods/saveAddress
export function updateAddress(data) {
  return request({
    url:'goods/saveAddress',
    method:'post',
    data
  })
}
//goods/addOrder
export function addOrder(data) {
  return request({
    url:'goods/addOrder',
    method:'post',
    data
  })
}

//C2C/index
export function c2cIndex(data) {
  return request({
    url:'C2C/index',
    method:'post',
    data
  })
}
//C2C/runCTCSell
export function runCTCSell(data) {
  return request({
    url:'C2C/runCTCSell',
    method:'post',
    data
  })
}

//C2C/getMyCTCList
export function getMyCTCList(data) {
  return request({
    url:'C2C/getMyCTCList',
    method:'post',
    data
  })
}

//C2C/delOrder
export function delOrder(data) {
  return request({
    url:'C2C/delOrder',
    method:'post',
    data
  })
}

//C2C/getAllSellList
export function getAllSellList(data) {
  return request({
    url:'C2C/getAllSellList',
    method:'post',
    data
  })
}
//C2C/runCTCBuy
export function runCTCBuy(data) {
  return request({
    url:'C2C/runCTCBuy',
    method:'post',
    data
  })
}
//C2C/getOneSellList
export function getOneSellList(data) {
  return request({
    url:'C2C/getOneSellList',
    method:'post',
    data
  })
}
//C2C/getOtherBankList
export function getOtherBankList(data) {
  return request({
    url:'C2C/getOtherBankList',
    method:'post',
    data
  })
}

//C2C/getMyTradeList
export function getMyTradeList(data) {
  return request({
    url:'C2C/getMyTradeList',
    method:'post',
    data
  })
}

//C2C/getMyOneTradeList
export function getMyOneTradeList(data) {
  return request({
    url:'C2C/getMyOneTradeList',
    method:'post',
    data
  })
}

//C2C/runCtcBuyStatus
export function runCtcBuyStatus(data) {
  return request({
    url:'C2C/runCtcBuyStatus',
    method:'post',
    data
  })
}

//C2C/runCtcSellStatus
export function runCtcSellStatus(data) {
  return request({
    url:'C2C/runCtcSellStatus',
    method:'post',
    data
  })
}
//C2C/delTrade
export function delTrade(data) {
  return request({
    url:'C2C/delTrade',
    method:'post',
    data
  })
}
